<link href="../lib/select/bootstrap-tagsinput.css" rel="stylesheet">
<script src="../lib/select/bootstrap-tagsinput.js"></script>
<style>
input {
	font-size: 14px;
}

.select2-dropdown {
	z-index: 20000000;
}
.label-info{
}
</style>
<div class="layer_container">
	<div class="body_container">
		<div class="layer_content">
			<form class="form-horizontal">
				<div class="form-group">
					<label class="col-sm-2 control-label">入院科室</label>
					<div class="col-sm-4">
						<select class="form-control" id="ruyuankeshi">
							{{# var list = d.list; }} {{# for(var i = 0;i
							<list.length;i++){ }}
					
							<option value={{list[i]['bck01'] }}>{{ list[i]['bck03'] }}</option>
				{{# } }}
				</select>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">预交金</label>
					<div class="col-sm-4">
						<input type="text" class="form-input" placeholder="0.0" id="vbn09">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">预入时间</label>
					<div class="col-sm-4">
						<input type="text" id="vbn10" class="layer-date laydate-icon " value="" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">有效时间</label>
					<div class="col-sm-4">
						<input type="text" id="vbn11" class="layer-date laydate-icon" value="" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">诊断</label>
					<div class="col-sm-8">
						<input type="text" value="" data-role="tagsinput" class="form-input" id="ruyuan_select" placeholder="这是诊断内容标签" />
						
						<!-- 诊断下拉 -->
						<div class="select-container search-select selectDiv" id="banliruyuan_zhenduan">
				             <div class="input-group input-group-sm">
				                 <input type="text" class="form-input  nodeleteinput" id="search_jibing" />
				                 <div class="input-group-btn" onclick="searchJibingEvent()">
				                     <button class="btn btn-grey" type="button" id="search_diag_btn">
				                         <span class="glyphicon glyphicon-search"></span>
				                     </button>
				                 </div>
				                 <span class="input-group-btn" onclick = "closeChangeTdDiv_zhenduan();">       
									<button class="btn btn-grey" type="button">        
									<span class="glyphicon glyphicon-remove"></span> 
									</button>
								</span>
				             </div>
				             <div class="main-header-nav-container">
				                 <div class="main-header-nav">
				                     <ul class="nav nav-underline" rol="tablist">
				                         <li class="active">
				                             <a href="#blry_xylszd" aria-controls="current-diagnose" role="tab" data-toggle="tab">当前诊断</a>
				                         </li>
				                         <li>
				                             <a href="#blry_xydqzd" aria-controls="history-diagnose" role="tab" data-toggle="tab">历史诊断</a>
				                         </li>
				                     </ul>
				                 </div>
				             </div>
				             <div class="tab-content">
				                 <div class="tab-pane active" id="blry_xylszd">
				                     <div class="select-left treeview" id="bangliruyuan-tree"></div>
				                     <div class="select-right">
				                         <div class="main-content-table">
				                             <div class="main-table-container">
				                                 <table class="table table-noborder table-striped table-hover " id="ruyuan-tree-table">
				                                     
				                                 </table>
				                             </div>
				                         </div>
				                     </div>
				                 </div>
				                 <div class="tab-pane" id="blry_xydqzd">
				                     <div class="main-content-table">
				                         <div class="main-table-container">
				                             
				                         </div>
				                     </div>
				                 </div>
				             </div>
				         </div>
						
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">备注</label>
					<div class="col-sm-8">
						<textarea rows="3" class="form-input" id="vbn14"></textarea>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">开单时间</label>
					<div class="col-sm-4">
						<input type="text" id="vbn04" class="layer-date laydate-icon " value="" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-4">
						<div class="checkbox">
							<label>
								<input type="checkbox" id="isPrintRuyuan">
								打印入院通知单
							</label>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
	<div class="footer_container">
		<button class="btn btn-green" onclick="saveRuyuan()">确定</button>
		<button class="btn btn-white" id="remove_action">取消</button>
	</div>
</div>
